package components.canvas
{
	import mx.containers.Canvas;
	import mx.controls.Alert;
	import mx.rpc.events.FaultEvent;

	public class CanvasBase extends Canvas
	{
		public function CanvasBase(){
			super();
			styleName = "canvasPopUp";
		}

		public function onError(event:FaultEvent):void{
			Alert.show(event.fault.faultString,"Error");
		}

	}
}